const getters = {
  token: (state) => state.user.token,
  avatar: (state) => state.user.avatar,
  name: (state) => state.user.name,
  flag: (state) => state.user.flag,
  userId: (state) => state.user.userId,
  roles: (state) => state.user.roles,
  permissions: (state) => state.user.permissions,
  merchantInfo: (state) => state.user.merchantInfo,
  wx_merchantInfo: (state) => state.user.wx_merchantInfo,
};
export default getters;
